How did Metacode output change from 10.1 to 11.0?

If you compare RPEX1 print streams produced using 10.1 and 11.0 (current patch levels), you will note these changes in Metacode output:

When multiple logos appear on a page and printing using IMG files instead of FNT files (ImgOpt=Yes):

Version 10.1 issues consecutive DJDE IMAGE commands with the last DJDE IMAGE terminated with an END parameter.

	@@@DJDE IMAGE=(Q1DLOG,3019 DOTS,56 DOTS),;
	@@@DJDE IMAGE=(Q1DLOG,850 DOTS,56 DOTS),END;

Version 11.0 issues each DJDE IMAGE terminated with an END parameter and separates DJDE IMAGE commands with some nonprintable text.

	@@@DJDE IMAGE=(Q1DLOG,3019 DOTS,56 DOTS),END;
	.2......BLANK TEXT.
	@@@DJDE IMAGE=(Q1DLOG,850 DOTS,56 DOTS),END;

When printing charts or inline graphics logos on a page

Version 10.1 issues one or more DJDE IMAGE commands for the number of charts on a page (with the last DJDE IMAGE terminated with an END parameter) followed by some nonprintable text followed by the DJDE GRAPHIC commands for the each chart.

	@@@DJDE IMAGE=( XXXX1,661 DOTS,203 DOTS,T,2),;
	@@@DJDE IMAGE=( XXXX2,655 DOTS,1228 DOTS,T,2),;
	@@@DJDE IMAGE=( XXXX3,1564 DOTS,181 DOTS,T,2),;
	@@@DJDE IMAGE=( XXXX4,1566 DOTS,1267 DOTS,T,2),END;
	.2......BLANK TEXT.
	@@@DJDE GRAPHIC=XXXX1,END;
	(graphic data)
	@@@DJDE GRAPHIC=XXXX2,END;
	(graphic data)
	@@@DJDE GRAPHIC=XXXX3,END;
	(graphic data)
	@@@DJDE GRAPHIC=XXXX4,END;
	(graphic data)

Version 11.0 issues a DJDE GRAPHIC command with positioning information for each chart (essentially combining DJDE IMAGE and DJDE GRAPHIC commands into a single DJDE GRAPHIC command).

	@@@DJDE GRAPHIC=( XXXX1,661 DOTS,203 DOTS,2),END;
	(graphic data)
	@@@DJDE GRAPHIC=( XXXX2,655 DOTS,1228 DOTS,2),END;
	(graphic data)
	@@@DJDE GRAPHIC=( XXXX3,1564 DOTS,181 DOTS,2),END;
	(graphic data)
	@@@DJDE GRAPHIC=( XXXX4,1566 DOTS,1267 DOTS,2),END;
	(graphic data)

Both of these changes make Documaker’s Metacode output more compatible with Documerge.

Note   If you compare your own 10.1 and 11.0 output, make sure the NAFILE.DAT files produced are effectively identical. There will be some differences in the SIZE parameter on the NA line (for example, 10.1 SIZE=C, 11.0 SIZE=3360x18600). There may be additional values in the OPT parameter. The key is that the same sections are triggered with the same field data so that you can compare print streams.